import { reactive } from 'vue';
import { type ListProps, type ProgressProps } from 'naive-ui';
import type {
	CommonFileUpDownLoadProps
} from '#/src/components/customComponents/fileUpLoad/modal/ModalFileUpLoadListProps.d.ts';
const useListHooks = (props: CommonFileUpDownLoadProps) => {
	// -------------------------------------------------------------------------------------------
	const listConfig = reactive<ListProps>({
		bordered    : true,
		hoverable   : true,
		showDivider : true
	});
	// 进度条的配置
	const progressConfig = reactive<ProgressProps>({
		type               : 'line',
		showIndicator      : true,
		indicatorPlacement : 'inside'
	});
	return {
		listConfig,
		progressConfig
	};
};
export default useListHooks;